package com.hy.admin.enums;

/**
 * Created by wayne on 18/4/22.
 */
public enum  EnumPayResultStatus {
    RETURN200(200,"200","操作成功"),
    RETURN201(201,"201","待确认"),
    RETURN202(202,"202","已支付"),
    RETURN203(203,"203","支付失败"),
    RETURN210(210,"210","已退款"),
    RETURN211(211,"211","已请求退款"),
    RETURN212(212,"212","退款失败"),
    RETURN220(220,"220","已关闭"),
    RETURN221(221,"221","关闭失败"),
    RETURN230(230,"230","已撤销"),
    RETURN231(231,"231","撤销失败"),

    RETURN404(404,"404","不存在"),
    ;
    private int id;
    private String code;
    private String value;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    EnumPayResultStatus(final int id, final String code, final String value){
        this.id=id;
        this.code=code;
        this.value=value;
    }
}
